package com.znsd.r_e_m.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
@Document(indexName="rem",type = "student")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Student implements Serializable {

    private int stuId;
    private String stuName;
    private int stuAge;
    private String stuSex;
    private String stuAddress;
    private String updateTime;
}
